{% extends "base.html" %}
{% load bootstrap %}

{% block content %}
<form action="{% url 'accounts:register' %}" method="post">
    {% csrf_token %}
    {{ form|bootstrap }}
    <input type="submit" class="btn btn-default" value="注册" />
</form>
<hr />
<p>已经有帐号？<a href="{% url 'accounts:login' %}">直接登录</a></p>
{% endblock %}